package com.imti.mall.order.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.imti.mall.model.pms.pojo.PmsMemberPrice;
import com.imti.mall.order.mapper.MemberPriceMapper;
import com.imti.mall.order.service.MemberPriceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MemberPriceServiceImpl extends ServiceImpl<MemberPriceMapper, PmsMemberPrice> implements MemberPriceService {

    @Autowired
    private MemberPriceMapper memberPriceMapper;
    @Override
    public Float memberPrice(Long productId, Long memberLevelId) {
        return memberPriceMapper.memberPrice(productId,memberLevelId);
    }
}
